﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using TomShane.Neoforce.Controls;


namespace BlackAndWhiteBalance.CustomControls
{
    public class AWPCheckBox : CheckBox
    {
        public AWPCheckBox(Manager manager)
            : base(manager)
        {
            TextColor = Color.Black;
        }

        public override Color TextColor
        {
            set
            {
                base.TextColor = value;
                Skin.Layers["Control"].Text.Colors.Disabled = value;
                Skin.Layers["Control"].Text.Colors.Enabled = value;
                Skin.Layers["Control"].Text.Colors.Focused = value;
                Skin.Layers["Control"].Text.Colors.Hovered = value;
                Skin.Layers["Control"].Text.Colors.Pressed = value;
            }
        }
    }
}
